import { get, post , deleteRequest} from "../Uitils/request";
export const loadCartsAPI = () => {
  
 return get("/api/v1/shop_carts")
};

export const addCartAPI = (product, amount) => {
  return post("/api/v1/shop_carts", { product, amount });
};

export const delCartAPI = (cartid) => {
  return deleteRequest('/api/v1/shop_carts/'+cartid)
}


